package cn.shyouchi.wuguanjia.android.ui;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.squareup.timessquare.CalendarView;

import cn.shyouchi.wuguanjia.android.R;

public class CalendarActivity extends AppCompatActivity {

    CalendarView calendar_view;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_calendar);
        calendar_view = (CalendarView) findViewById(R.id.calendar_view);

    }


    public void prev(View view) {
        calendar_view.prevMonth();

    }

    public void next(View view) {
        calendar_view.nextMonth();
    }


}
